package ch03.demo.dao.impl;

import ch03.demo.News;
import ch03.demo.dao.NewsDao;
import org.apache.log4j.Logger;

/**
 * 新闻模块的Dao实现类
 */
public class NewsDaoImpl implements NewsDao {
    private Logger logger=Logger.getLogger(NewsDaoImpl.class);

    @Override
    public void save(News news) {
        logger.debug("保存新闻信息到数据库");
        //省略数据库操作代码
    }
}
